package org.linlinjava.litemall.TemplateModel;

/**
 * @author zhy
 * @create 2018-11-30 17:09
 **/
public abstract class Woker {
	/** 干活前 */
	public abstract void beforeWork();

	/** 干活 */
	public abstract void doingWork();

	/** 干活后 */
	public abstract void afterWork();

	public void workTemplate(){
		beforeWork();

		doingWork();

		afterWork();
	}
}
